<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="ISO-8859-1"%>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<div id="mydiv"></div>
</body>
<script type="text/javascript">
	function _clock() {
		var da = new Date().toLocaleString();
		$("#mydiv").html(da);
	}
	_clock();
	setInterval("_clock()", 1000);
</script>
</html>